﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace SL8.SL.Data
{
    public class Result<T> 
    {
        public Exception Error { get; private set; }
        public int Count { get; private set; }
        public List<T> Data { get; private set; }

       // public T Test { get; set; }

        public Result(int count = 0, List<T> data = null, Exception error = null)
        {
            this.Count = count;
            this.Data = data;
            this.Error = error;
        }
    }
}
